package com.bestescortbedsystem.dao;

import com.bestescortbedsystem.entity.SesBedMessage;
import com.bestescortbedsystem.entity.SesHospitalinfoDepartment;
import com.bestescortbedsystem.entity.SesHospitalinfoDepartmentExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SesHospitalinfoDepartmentDao {
    long countByExample(SesHospitalinfoDepartmentExample example);

    int deleteByExample(SesHospitalinfoDepartmentExample example);

    int deleteByPrimaryKey(Long departmentid);

    int insert(SesHospitalinfoDepartment record);

    int insertSelective(SesHospitalinfoDepartment record);

    List<SesHospitalinfoDepartment> selectByExample(SesHospitalinfoDepartmentExample example);

    SesHospitalinfoDepartment selectByPrimaryKey(Long departmentid);

    int updateByExampleSelective(@Param("record") SesHospitalinfoDepartment record, @Param("example") SesHospitalinfoDepartmentExample example);

    int updateByExample(@Param("record") SesHospitalinfoDepartment record, @Param("example") SesHospitalinfoDepartmentExample example);

    int updateByPrimaryKeySelective(SesHospitalinfoDepartment record);

    int updateByPrimaryKey(SesHospitalinfoDepartment record);
    List<SesHospitalinfoDepartment> selectByuserId(Long userId);
}